<header>
    <div class="container-fluid">
        <div class="row align-items-center">
            <div class="col-lg-3">
                <div class="logo">
                    <a href="" target="_self" style="display: flex;align-items: center;">
                        <img alt="" class="img-fluid" src="assets/img/schoolLogo.png" style="height: 48px;">
                        <span style="margin-left: 10px;font-size: 24px;color: #fff;letter-spacing: 2px;">基础信息管理平台</span>
                    </a>
                </div>
            </div>
            <div class="col-lg-5"></div>
            <div class="col-lg-4">
                <div class="content-right">
                    <ul>
                        <li class="roleBox" ng-show="userInfo.roles.length > 1">
                            <div class="dropdown float-left">
                                <a aria-expanded="false" aria-haspopup="true" class="dropdown-toggle"
                                   data-toggle="dropdown" type="button">
                                    <span>当前角色：{{roleInfo.role_name}}</span>
                                </a>
                                <div class="dropdown-menu dropdown-menu-right" x-placement="bottom-end">
                                    <a class="dropdown-item" ng-repeat="data in userInfo.roles" ng-click="changeRole(data)">
                                        <span>{{data.role_name}}</span>
                                    </a>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="dropdown">
                                <a aria-expanded="false" aria-haspopup="true" class="dropdown-toggle" data-toggle="dropdown" type="button">
                                    <i class="iconfont icon-men-me"></i><span> {{username}}</span>
                                </a>
                                <div class="dropdown-menu dropdown-menu-right user-profile-dropdown" style="position: absolute; transform: translate3d(-113px, 37px, 0px); top: 0px; left: 0px; will-change: transform;" x-placement="bottom-end">
                                    <a href="user/logout" class="dropdown-item">
                                        <i class="iconfont icon-logout"></i>
                                        <span> 注销</span>
                                    </a>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</header>
<div modules="{{leftModule}}"></div>
